SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.option.file
Interface FileSystemService

All Superinterfaces:
CHVCallbackService, FileAccessService, SecureService

public interface FileSystemService
extends FileAccessService, CHVCallbackService

This is a CardService interface which provides creational methods for file system based smartcards.


Method Summary
 void create(FilePath dir, byte[] data)
           Create a new file on the card.
 void delete(FilePath file)
           Deletes a file on the card.
 void invalidate(FilePath file)
           Invalidates a file on the card.
 void validate(FilePath file)
           validates a file on the card.
 
Methods inherited from interface jp.co.ricoh.dsdk.scard.option.file.FileAccessService
appendRecord, exists, getFileInfo, getRoot, read, readRecord, readRecord, readRecords, readRecords, write, writeRecord, writeRecord
 
Methods inherited from interface jp.co.ricoh.dsdk.scard.option.security.CHVCallbackService
setCallback
 
Methods inherited from interface jp.co.ricoh.dsdk.scard.option.security.SecureService
provideCredentials
 

Method Detail

create

public void create(FilePath dir,
                   byte[] data)
            throws VerificationException,
                   CardServiceException
Create a new file on the card.

Parameters:
dir - the path of the directory which to a new file would be created.
data - A byte array specifying the file to be created. This is card-specific.
Throws:
VerificationException - if the verification failed.
CardServiceException - if the service encountered an error.
See Also:
VerificationException

delete

public void delete(FilePath file)
            throws VerificationException,
                   CardServiceException
Deletes a file on the card.

Parameters:
file - the path of the file to be deleted.
Throws:
VerificationException - if the verification failed.
CardServiceException - if the service encountered an error.
See Also:
VerificationException

invalidate

public void invalidate(FilePath file)
                throws VerificationException,
                       CardServiceException
Invalidates a file on the card.

Parameters:
file - the path of the file to be invalidated.
Throws:
VerificationException - if the cerification failed.
CardServiceException - if the service encountered an error.
See Also:
VerificationException

validate

public void validate(FilePath file)
              throws VerificationException,
                     CardServiceException
validates a file on the card.

Parameters:
file - the path of the file to be validated.
Throws:
VerificationException - if the verification failed.
CardServiceException - if the service encountered an error.
See Also:
VerificationException

SDK/J Authentication Package ver1.0
RICOH Confidential